<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/5/30 0030
  Time: 上午 10:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    if(session.getAttribute("islogin")==null){
        response.sendRedirect("login.jsp");
    }

%>


<form  action="userEdit.do" method="post"  >
    <input type="text" name="id" value="${id}" hidden="hidden"/><br/>
    <div >
        <label >用户名:</label>
        <div >
            <input type="text" name="username" placeholder="输入用户名称"
                   value="${username}">
        </div>
    </div>
    <div >
        <label >密码:</label>
        <div >
            <input type="password" name="password" placeholder="输入密码" value="${password}">
        </div>
    </div>
    <div >
        <input type="submit" value="更新" >
    </div>
    </div>
</form>

</body>
</html>

